//go:build wireinject
// +build wireinject

// The build tag makes sure the stub is not built in the final build.
package main

import (
	"admin_template/bff/admin/internal/base/data"
	httpServer "admin_template/bff/admin/internal/base/server"
	"admin_template/bff/admin/internal/repo"
	"admin_template/bff/admin/internal/router"
	"admin_template/bff/admin/internal/service"
	serviceSystem "admin_template/bff/admin/internal/service/system"
	"github.com/cloudwego/hertz/pkg/app/server"
	"github.com/google/wire"
)

// *polaris.Registry, *registry.Info
func initApp(*data.Data) (*server.Hertz, func(), error) {
	panic(wire.Build(router.ProviderSet, service.ProviderSet, serviceSystem.ProviderSet, repo.ProviderSet, httpServer.ProviderSet))
}
